package com.bd.scm.domain.models.repairAttendance;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author yufc
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "dbo.bd_view_repair")
public class RepairView implements Serializable {
    @TableField(value = "order_id")
    @ApiModelProperty(value="")
    private Long orderId;

    @TableField(value = "order_no")
    @ApiModelProperty(value="")
    private String orderNo;

    @TableField(value = "start_date")
    @ApiModelProperty(value="")
    private Date startDate;

    @TableField(value = "end_date")
    @ApiModelProperty(value="")
    private Date endDate;

    @TableField(value = "people_num")
    @ApiModelProperty(value="")
    private Integer peopleNum;

    @TableField(value = "remark")
    @ApiModelProperty(value="")
    private String remark;

    @TableField(value = "creater_id")
    @ApiModelProperty(value="")
    private Long createrId;

    @TableField(value = "create_time")
    @ApiModelProperty(value="")
    private Date createTime;

    @TableField(value = "is_del")
    @ApiModelProperty(value="")
    private Integer isDel;

    @TableField(value = "status_name")
    @ApiModelProperty(value="")
    private String statusName;

    @TableField(value = "status")
    @ApiModelProperty(value="")
    private Integer status;

    @TableField(value = "approver1")
    @ApiModelProperty(value="")
    private String approver1;

    @TableField(value = "approver2")
    @ApiModelProperty(value="")
    private String approver2;

    @TableField(value = "last_operator")
    @ApiModelProperty(value="")
    private Long lastOperator;

    @TableField(value = "last_operate_time")
    @ApiModelProperty(value="")
    private Date lastOperateTime;

    @TableField(value = "reject_reason")
    @ApiModelProperty(value="")
    private String rejectReason;

    @TableField(value = "last_approver_id")
    @ApiModelProperty(value="")
    private Long lastApproverId;

    @TableField(value = "last_approver_name")
    @ApiModelProperty(value="")
    private String lastApproverName;

    @TableField(value = "last_approver_time")
    @ApiModelProperty(value="")
    private Date lastApproverTime;

    @TableField(value = "sj")
    @ApiModelProperty(value="")
    private Date sj;

    @TableField(value = "user_serial")
    @ApiModelProperty(value="")
    private Long userSerial;

    @TableField(value = "xh")
    @ApiModelProperty(value="")
    private Integer xh;

    @TableField(value = "bz")
    @ApiModelProperty(value="")
    private String bz;

    @TableField(value = "fx")
    @ApiModelProperty(value="")
    private Integer fx;

    @TableField(value = "gly_no")
    @ApiModelProperty(value="")
    private String glyNo;

    @TableField(value = "shenhe")
    @ApiModelProperty(value="")
    private String shenhe;

    @TableField(value = "img_path")
    @ApiModelProperty(value="")
    private String imgPath;

    @TableField(value = "whether_validity")
    @ApiModelProperty(value="")
    private Integer whetherValidity;

    @TableField(value = "pc_ip")
    @ApiModelProperty(value="")
    private String pcIp;

    @TableField(value = "pc_name")
    @ApiModelProperty(value="")
    private String pcName;

    @TableField(value = "user_no")
    @ApiModelProperty(value="")
    private String userNo;

    @TableField(value = "user_name")
    @ApiModelProperty(value="")
    private String userName;

    @TableField(value = "dep_name")
    @ApiModelProperty(value="")
    private String depName;

    @TableField(value = "applier_no")
    @ApiModelProperty(value="")
    private String applierNo;

    @TableField(value = "applier_name")
    @ApiModelProperty(value="")
    private String applierName;

    @TableField(value = "applier_dept_id")
    @ApiModelProperty(value="")
    private Integer applierDeptId;

    @TableField(value = "applier_dept_name")
    @ApiModelProperty(value="")
    private String applierDeptName;

    @TableField(value = "approver1_no")
    @ApiModelProperty(value="")
    private String approver1No;

    @TableField(value = "approver1_name")
    @ApiModelProperty(value="")
    private String approver1Name;

    @TableField(value = "approver2_no")
    @ApiModelProperty(value="")
    private String approver2No;

    @TableField(value = "approver2_name")
    @ApiModelProperty(value="")
    private String approver2Name;

    @TableField(value = "start_time")
    @ApiModelProperty(value="")
    private Integer startTime;

    @TableField(value = "start_time_name")
    @ApiModelProperty(value="")
    private String startTimeName;

    @TableField(value = "end_time")
    @ApiModelProperty(value="")
    private Integer endTime;

    @TableField(value = "end_time_name")
    @ApiModelProperty(value="")
    private String endTimeName;

    @TableId(value = "detail_id")
    @ApiModelProperty(value="")
    private Integer detailId;

    @ApiModelProperty( value = "补打卡类型", notes = "补打卡类型,0：PC端补打卡，1：补上班，2：补下班，3：补上下班", dataType = "Integer", position = 12, required = true)
    private Integer repairType;

    private static final long serialVersionUID = 1L;

}